import request from "@/utils/request";

// 获取列表
export function getAllList(query) {
  return request({
    url: "/samPoiHouSur/getPage",
    method: "get",
    params: query,
  });
}

// 查看
export function getDetail(id) {
  return request({
    url: "/samPoiHouSur/findById",
    method: "get",
    params:id
  });
}

// 获取抽样点列表
export function getSamPoiByXsemId(query) {
  return request({
    url: "/samPoiData/getSamPoiByXsemId",
    method: "get",
    params: query,
  });
}